<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label">公众号APPID</label>
            <div class="layui-input-block">
                <input type="text" name="appid" class="layui-input"  placeholder="请输入公众号APPID" value="{$row.appid|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类型(text,image,news)</label>
            <div class="layui-input-block">
                <input type="text" name="type" class="layui-input"  placeholder="请输入类型(text,image,news)" value="{$row.type|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">关键字</label>
            <div class="layui-input-block">
                <input type="text" name="keys" class="layui-input"  placeholder="请输入关键字" value="{$row.keys|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文本内容</label>
            <div class="layui-input-block">
                <textarea name="content" rows="3" class="layui-textarea" placeholder="请输入文本内容">{$row.content|raw|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">图片链接</label>
            <div class="layui-input-block">
                <input type="text" name="image_url" class="layui-input"  placeholder="请输入图片链接" value="{$row.image_url|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">语音链接</label>
            <div class="layui-input-block">
                <input type="text" name="voice_url" class="layui-input"  placeholder="请输入语音链接" value="{$row.voice_url|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">音乐标题</label>
            <div class="layui-input-block">
                <input type="text" name="music_title" class="layui-input"  placeholder="请输入音乐标题" value="{$row.music_title|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">音乐链接</label>
            <div class="layui-input-block">
                <input type="text" name="music_url" class="layui-input"  placeholder="请输入音乐链接" value="{$row.music_url|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">缩略图片</label>
            <div class="layui-input-block layuimini-upload">
                <input name="music_image" class="layui-input layui-col-xs6"   placeholder="请上传缩略图片" value="{$row.music_image|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="music_image" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_music_image" data-upload-select="music_image" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">音乐描述</label>
            <div class="layui-input-block">
                <input type="text" name="music_desc" class="layui-input"  placeholder="请输入音乐描述" value="{$row.music_desc|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">视频标题</label>
            <div class="layui-input-block">
                <input type="text" name="video_title" class="layui-input"  placeholder="请输入视频标题" value="{$row.video_title|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">视频URL</label>
            <div class="layui-input-block">
                <input type="text" name="video_url" class="layui-input"  placeholder="请输入视频URL" value="{$row.video_url|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">视频描述</label>
            <div class="layui-input-block">
                <input type="text" name="video_desc" class="layui-input"  placeholder="请输入视频描述" value="{$row.video_desc|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">图文ID</label>
            <div class="layui-input-block">
                <input type="text" name="news_id" class="layui-input"  placeholder="请输入图文ID" value="{$row.news_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序字段</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序字段" value="{$row.sort|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态(0禁用,1启用)</label>
            <div class="layui-input-block">

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">创建人</label>
            <div class="layui-input-block">
                <input type="text" name="create_by" class="layui-input"  placeholder="请输入创建人" value="{$row.create_by|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-block">
                <input type="text" name="create_at" class="layui-input"  placeholder="请输入创建时间" value="{$row.create_at|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>